﻿<local:CriteriaControlBase 
    x:Class="Rio.Framework.Pages.CriteriaControls.BooleanIndexControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Rio.Framework.Pages.CriteriaControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
     mc:Ignorable="d"
    d:DesignHeight="60" d:DesignWidth="300">

    <local:CriteriaControlBase.Resources>
        <Style x:Key="CheckBoxStyle" TargetType="CheckBox">
            <Setter Property="Width" Value="230"/>
            <Setter Property="Margin" Value="5,0,5,0"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
        </Style>
        </local:CriteriaControlBase.Resources>

    <StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
            <TextBlock Name="LabelMandatory" Text="*" Margin="0,0,5,0" Foreground="Red" Visibility="Collapsed"/>
            <CheckBox Name="CheckBoxInput" Style="{StaticResource CheckBoxStyle}"/>
            
            <telerik:RadButton Name="buttonInput" Visibility="Collapsed">
                <Image Width="16" Height="16" Source="../../Assets/Images/Filter.png" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </telerik:RadButton>
            <telerik:RadButton Name="DeleteButton" Visibility="Collapsed" Click="buttonDelete_Click" Width="24" Height="24">
                <Image Width="16" Height="16" Source="../../Assets/Images/RemoveControlSearch.png" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </telerik:RadButton>
        </StackPanel>
    </StackPanel>
</local:CriteriaControlBase>

